package com.chapter11.chap_exercise.test08;

public class Test08 {
    public static void main(String[] args) {
        Color a = Color.RED;
        a.show();

        switch (a){
            case BLUE:
                System.out.println("Blue");
                break;
            case GREEN:
                System.out.println("Green");
                break;
            case RED:
                System.out.println("Red");
                break;


        }

    }
}
